#ifndef NEODOUBLESPINBOXSTYLE_H
#define NEODOUBLESPINBOXSTYLE_H

#include <QProxyStyle>

class NeoDoubleSpinBoxStyle : public QProxyStyle
{
public:
    NeoDoubleSpinBoxStyle(QStyle *style = nullptr);
    ~NeoDoubleSpinBoxStyle();

    void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = nullptr) const override;
    QRect subControlRect(ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget = nullptr) const override;

    QStyle::SubControl hitTestComplexControl(ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget) const override;
};

#endif